package com.template.mongo.utils;

import java.util.Properties;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
public class PropertyResolver {
	
	@Autowired
    private Properties appProperties;
    
    public String getValue(String key) {
        return appProperties.getProperty(key);
    }
}
